package ZY10_22.Pet;

public class Parrot extends Pet{
    public void show(){
        super.show();
        flight();
    }
    public void flight(){
        System.out.println(super.getName()+"会飞行");
    }
    public Parrot() {
    }

    public Parrot(String name, String variety, int weight) {
        super(name, variety, weight);
    }
}
